<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="./resources/css/default.css" rel="stylesheet" type="text/css" />
        <link href="./resources/css/cssLayout.css" rel="stylesheet" type="text/css" />
        <title>SISTEMA PLANEACION DE LA PRODUCCION</title>
    </h:head>

    <h:body>

        <div id="top">
            <ui:insert name="top"><p:graphicImage value="/resources/imagenes/top.PNG"/></ui:insert>
        </div>
        <div>
            <div id="left">
                <ui:insert name="left">
                    <h:form id="MenuPrincipalForm">
                        <p:menu>  
                            <p:submenu label="Menu">  
                                <p:menuitem value="Analisis de Ventas " outcome="TecnicaAbc" actionListener="#{app.irAbc()}"   />  
                                <p:menuitem value="Pronostico de Ventas" outcome="MinimosCuadrados" actionListener="#{app.irCuadrados()}" />          
                                <p:menuitem value="Calculo de Produccion" outcome="gcv" actionListener="#{app.irGcv()}"   />                             
                                <p:menuitem value="Calculo de Materiales" url="http://www.google.com" icon="ui-icon-home"/>                               
                            </p:submenu>  
                        </p:menu> 
                    </h:form>

                </ui:insert>
            </div>
            <div>
                <div id="right">
                    <ui:insert name="right">
                    </ui:insert>  
                </div>
                <div id="content" class="right_content">
                    <ui:insert name="content">Content</ui:insert>
                </div>
            </div>
        </div>        
    </h:body>

</html>
